<div class="news_con clearfix">
	<ul>
{volist name="lists['news']" id="vo"}
       <li class="clearfix">
          <a href="{:url('home/News/index',array('id'=>$vo['n_id']))}">
          <div class="newsimg">
          {if condition="$vo['news_img']"}
               <img src="{$vo['news_img']|get_imgurl}"/>
          {else /}
			{php}$img_no=rand(1,8);{/php}    
                <img src="{$yf_theme_path}public/images/default_tupian{$img_no}.jpg"/>
          {/if}
          </div>

              <div class="newsabstract">
              	<h4>{$vo.news_title|msubstr=0,16}</h4>
                <p>{$vo.news_content|html_trim=60}</p>
                <p class="mt10"><i class="fa fa-calendar"></i>{$vo.news_time|date="Y-m-d",###}</p>
              </div>
          </a>
        </li>
{/volist}
</ul>
</div>

<div class="pagination-centered">
	{$page_html}
</div>